package org.example;

public class TestBase {
    public static void main(String[] args) {

        isValid("");
        isValid("中文");
        isValid("abc-1234567");
        isValid("1234567");
        isValid("abc");
        isValid("zzz111");


        isValid("zzz12345");
        isValid("abc1234567");
        isValid("abc12345bbb");
    }

    private static void isValid(String text) {
        System.out.println(text + " === " + PasswordValidator.isCharacterAndNumber(text));
    }


}
